package jumpingnotes.service.remoting;

import jumpingnotes.model.Result;

public interface BookService{

	public Result bookCreate(String bookName, String author, String memberID);
	
	public Result bookInfoVersionCreate(String bookID, String name,
			String subTitle, String abstract_, String author,
			String authorIntro, String publishPress, String publishYear,
			String chapterCount, String wordCount, String completeStatus,
			String website, String url, String memberID);
	
	public Result bookCoverFilter(String uuid, String subtype, String ratio, String x, String y, String width, String height);

	public Result bookCoverVersionUpload(String bookID, String memberID, String image);
	
	public Result chapterCreate(String bookID, String memberID, String name, int number, String abstract_, String uuid);
	
	public Result chapterVersionCreate(String chapterID, String memberID,String number, String name,String abstract_, String uuid);
	
	public Result bookFavoriteCreate(String bookID, String memberID);
	
	public Result bookFavoriteDelete(String bookID, String memberID);
	
	public Result bookCommentCreate(String bookID, String memberID, String comment);
	
	public Result bookCommentDelete(String bookCommentID, String memberID);
	
	public Result bookRecommendCreate(String bookID, String memberID, String target, String reason);
	
	public Result bookExpectCreate(String bookID, String memberID, String reason);
	
	public Result errorReportCreate(String memberID, String targetID, String subject, String body);
	
	public Result countMemberByFavoriteBook(String bookID);
}
